Set union of two views.

Namespace:  C1.LiveLinq.LiveViews
Assembly:  C1.LiveLinq (in C1.LiveLinq.dll)

Syntax

C#
public View<T> Union(
	IObservableSource<T> second
)
Visual Basic
Public Function Union ( _
	second As IObservableSource(Of T) _
) As View(Of T)

Parameters

second
Type: C1.LiveLinq..::..IObservableSource<(Of <(<'T>)>)>
A collection (usually, a view) whose distinct elements form the second set for the union.

Return Value

The view that contains the elements from both input views, excluding duplicates.

Remarks

This method excludes duplicates from the result set. This is different behavior to the Concat(IObservableSource<(Of <<'(T>)>>)) method, which returns all the elements in the input sequences including duplicates.

See Also